GUI Help > Special > addListViewItem

addListViewItem
addListViewItem handle gadget, str caption, int image

Description:
Adds an item to a listview gadget. The item has a caption and an icon.

Return Value:


Parameters:
gadget Handle of a listview gadget.
caption The text of the new item
image The index of the image to add to the listview. This index is the id of the image from the image list associated with the listview. You should create an imagelist using createImageList, add images to it using addImageListItem, apply the imagelist to the listview using setListViewImageList and finally create the new item using addListViewItem
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)